home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
windows
/
mtw32301.zip
/
REGISTRY.RCM
< prev
next >
Wrap
Windows Registry Data
|
1996-05-06
|
2KB
|
107 lines
REGEDITCMD1
;
; REGEDITCMD1 must be the first line, to indentify this file as a Registery-commandfile
;
;
; With [......] you set the context in the bindery
; All Commands listed below this "Section" will be executed in this
; Context.
[HKEY_CLASSES_ROOT\TestMTWIN]
;
; The entry @ designates the default-value of the given key
;
@="fontext.dll"
"ThreadingModel1"="Apartment"
;
; The lines above just set the keys to the given values
;
[HKEY_USERS\TestMTWIN\Deep\Blue\Is\Not\The\Best]
+@="fontext.dll"
+"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT\TestMTWIN\Deep\Blue\Is\Not\The\Best]
+@="fontext.dll"
+"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT\TestMTWIN\Deep\Blue2\Is\Not\The\Best]
+@="fontext.dll"
;
; Removes the default value
;
-@
;
; Same as above, but to be "compatible" with the CMD files
; Removes the Is sub-context
;
[HKEY_CLASSES_ROOT\TestMTWIN\Deep\Blue]
-[Is]
;
; Removes the key "ThreadingModel"
;
[HKEY_CLASSES_ROOT\TestMTWIN]
-"ThreadingModel"
;
;
; Set some key-values to be replaced with something
;
+"Wunder"="Welt"
+"Wunder1"="Welt1"
+"Wunder2"="Welt2"
+"Wunder3"="Welt3"
+"Wunder4"="Welt4"
+"Wunder5"="Welt5"
+"Wunder6"="Welt6"
+"Wunder7"="Welt7"
;
; Replace all lowercase elt with the uppercase version.
;
[HKEY_CLASSES_ROOT\TestMTWIN]*
r*"elt"="ELT"
;
; Now we execute a windows command
;
E write.exe
;
; Variables for registery
;
; Returns the value for a key
;
$(Key) := $(_REGVALUE[HKEY_CLASSES_ROOT\TestMTWin]@)
$(Key) := $(_REGVALUE[HKEY_CLASSES_ROOT\TestMTWin]AuchEtwas)
;
; Locates the context for a given key
;
; Returns [HKEY_CLASSES_ROOT\TestMTWin]
;
$(Key2) := $(_REGCONTEXTVALUE[HKEY_USERS]State)
;
; Locates the context for a given key/value
;
; Returns [HKEY_CLASSES_ROOT\TestMTWin]
;
$(Key) := $(_REGCONTEXTVALUE[HKEY_USERS]"UserName"="CN=SCA")
;
; Locates the context for a given subkey
;
; Returns [HKEY_CLASSES_ROOT\TestMTWin]
;
$(Key) := $(_REGCONTEXTSUBKEY[HKEY_CLASSES_ROOT]TestMTWin)
$(RKey) := $(_REGCONTEXTSUBKEY[HKEY_USERS]EuNET)
$(RKey) := $(_REGCONTEXTSUBKEY[HKEY_USERS]EuNet)